

<div id="levbank">
<form action="{$remote}_outbank" name="outbank" id="outbank" method="post">

<div class="rfm">
<table width="100%">
<tr><td style="padding-top:0;">
<p class="tbms mtm ">{$lev_lang[smc1]}{$lev_lang[mh]}<b style="color:red">{$_PLG[minmoney]}</b> {$lev_lang[yuan]}  
{if $_PLG[maxmoney]>=1}| {$lev_lang[smc2]}{$lev_lang[mh]}<b style="color:red">{$_PLG[maxmoney]}</b> {$lev_lang[yuan]}{/if}</p></td>
</tr></table></div>

<div class="rfm">
<table width="100%">
<tr>
<th><font color=red>*</font>{$lev_lang[smc3]}{$lev_lang[mh]}</th>
<td>
<select name="bank" id="bank" onchange="setdcd(this)">
{loop $settings[bankinfo] $k $r}
<option value="{$k}" data-c="$r[cardnum]">{$allbanks[$k][1]}</option>
{/loop}
</select> &raquo; {$lev_lang[smc4]}{$lev_lang[mh]}<font id="data-cardnum"></font><br>
{$lev_lang[cm1]}<font color=#f60>{$myinfo[rname]}</font>
<script>
setdcd('#bank');
function setdcd(obj) {
	var _cardnum = jQuery(obj).find('option:selected').attr('data-c');
	jQuery('#data-cardnum').html(_cardnum);
}
</script>
</td>
</tr>
</table>
</div>

<div class="rfm">
<table width="100%">
<tr>
<th><font color=red>*</font>{$lev_lang[scm9]}{$lev_lang[mh]}</th>
<td><input type="text" name="money" id="money" class="px" style="width:100px;"> {$lev_lang[yuan]}
 &raquo; {$lev_lang[scm8]}({$_PLG[per]}%){$lev_lang[mh]}
 <font id="permoney" color=red>0</font> {$lev_lang[yuan]} | {$lev_lang[smc5]}{$lev_lang[mh]}<b id="totalsmon">0.00</b> {$lev_lang[yuan]}
</td>
</tr>
</table>
<script>
	var _per = {$_PLG[per]};
	var _max = {$_PLG[maxper]};
	var _min = {$_PLG[minper]};
	jQuery('#money').keyup(function (e) {
	    var key = e.which;
	    var permn = this.value * _per / 100;
	    if (permn < _min) {
		    permn = _min;
	    }else if (permn > _max) {
		    permn = _max;
		}
	    jQuery('#permoney').html(permn);
	    jQuery('#totalsmon').html(parseFloat(permn) + parseFloat(this.value));
	});
</script>
</div>

<div class="rfm">
<table width="100%">
<tr>
<th><font color=red>*</font>{$lev_lang[smc6]}{$lev_lang[mh]}</th>
<td><input type="password" name="password" id="password" class="px"></td>
</tr>
</table>
</div>

<div class="rfm">
<table width="100%">
<tr>
<th></th>
<td><input type="submit" name="dosubmit" id="dosubmit" class="pn pnc" value=" {$lev_lang[subt]} "></td>
</tr>
</table>
</div>
</form>
</div>